﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseAuthRole.Domain.OutPut
{
    /// <summary>
    /// 组织树用户输出
    /// </summary>
    public class OrgUserTreeOutPut
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 额外名称
        /// </summary>
        public string? ExtraName { get; set; } 

        /// <summary>
        /// 全名
        /// </summary>
        public string? FullName { get; set; }

        /// <summary>
        /// 是否是组织
        /// </summary>
        public bool? IsOrg { get; set; }

        /// <summary>
        /// 上级组织编码，对应orgid
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 子节点
        /// </summary>
        public List<OrgUserTreeOutPut>? Children { get; set; }
    }
}
